//
//  SDPhotoCollectionCell.h
//  SKinDiary
//
//  Created by pcyang on 16/7/15.
//  Copyright © 2016年 tencent. All rights reserved.
//

#import <UIKit/UIKit.h>
@class SDPhotoInfo;

@protocol SDPhotoCellDelegate <NSObject>
-(void)photoViewClicked:(SDPhotoInfo*)item;
@end


@interface SDPhotoCollectionCell : UICollectionViewCell
@property(nonatomic,strong)UIView* overlayView;
@property(nonatomic,strong)SDPhotoInfo* photoInfo;
@property(nonatomic,weak)id<SDPhotoCellDelegate> delegate;

-(void)setData:(SDPhotoInfo*)item;
-(void)setEditable:(BOOL)editable;

-(void)setOverlayViewHidden:(BOOL)hidden;
@end
